﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.DtoModel.SystemManager;
using SystemCenterSoa.PoModel.SystemManager;

namespace SystemCenterSoa.IRepository.SystemManager
{
    public interface IAdminUserRepository
    {
        PagerResult<AdminUserPo> SearchPage(SearchModel searchModel);

        bool AdminUserAdd(AdminUserDto view);

        AdminUserPo GetAdminUserByUserName(string userName);

        AdminUserDto GetAdminUserViewByUserName(string userName);

        bool AdminUserUpdate(AdminUserDto view);

        bool AdminUserPwdUpdate(string pwd, string userName);

    }
}
